class UrlMappings {

    static mappings = {
        "/$controller/$action?/$id?(.$format)?" {
            constraints {
            }
        }

        "/"(controller: "answer", action: "login")
        "/admin/"(controller: "admin", action: "login")
        "500"(view: '/error')
    }
}
